<!-- 录入 编辑 订单 -->
<div>
    <div class="loanmenu-fixed" >
        <!-- <button ng-click="onTopClick()" >123</button> -->
        <div class="loanmenu-fixed_1">资料完善情况</div>
        <ul>
            <li ng-class="{'fill-ok':msgFill.applyOk}">
                <i class="icon icon-xuanzhong" ng-click="onJumpClick('0','loanMess')"><span>申请信息</span></i>
            </li>
            <ul>
                <li ng-class="{'fill-ok':msgFill.loanOk}">
                    <i class="icon icon-xuanzhong" ng-click="onJumpClick(LOAN_MESS_NUM,'loanMess')"><span>借款信息</span></i>
                </li>
                <li ng-class="{'fill-ok':msgFill.baseOk}">
                    <i class="icon icon-xuanzhong" ng-click="onJumpClick(BASE_MESS_NUM,'loanMess')"><span>基本信息</span></i>
                </li>
                <li ng-class="{'fill-ok':msgFill.companyOk}">
                    <i class="icon icon-xuanzhong" ng-click="onJumpClick('930','loanMess')"><span>公司信息</span></i>
                </li>
                <li ng-class="{'fill-ok':msgFill.carOk}">
                    <i class="icon icon-xuanzhong" ng-click="onJumpClick('1150','loanMess')"><span>车辆信息</span></i>
                </li>
                <li ng-class="{'fill-ok':msgFill.houseOk}">
                    <i class="icon icon-xuanzhong" ng-click="onJumpClick('1450','loanMess')"><span>房产信息</span></i>
                </li>
                <li ng-class="{'fill-ok':msgFill.linkManOk}">
                    <i class="icon icon-xuanzhong" ng-click="onJumpClick('1800','loanMess')"><span>联系人信息</span></i>
                </li>
            </ul>
            <li ng-class="{'fill-ok':msgFill.dataListOk}">
                <i class="icon icon-xuanzhong" ng-click="onJumpClick('0','dataList')"><span>资料清单</span></i>
            </li>
        </ul>
    </div>
    <div class="tab-box">
        <ul class="in-blok">
            <li style="margin-right: 0;" class="active">订单录入</li>
        </ul>
        <div ui-sref="application.applyfor" class="back-select"><i class="icon icon-fanhui"></i> <span>返回重新选择</span></div>
    </div>
    <!-- 说明：订单录入 -->
    <!--编辑借款申请 默认隐藏-->
    <div class="public-bgContent">
        <div class="public-PoBefore-title">
            <div>
                <i class="icon icon-xindaitong" ng-if="loanState==3"></i>
                <i class="icon icon-chedaitong" ng-if="loanState==1"></i>
                <i class="icon icon-fangdaitong" ng-if="loanState==2"></i>
            </div>
            <span>填写申请</span>
            <!-- <div>贷款产品：<i class="icon icon-xindaitong"></i> {{loanProduc || '信贷'}}</div> -->
        </div>
        <!--导航 借款信息 借款人信息 资料清单-->
        <ul class="public-PoBefore-nav">
            <li>
                <span>
				<a ng-click="show('loanMess',$event,'apply')" 
				href="javascript:void(0)"
				ng-class="{'active':apply.loanMess}">
					申请信息
				</a>
			</span>
            </li>
            <li>
                <span>
                    <a ng-click="show('dataList',$event,'apply')" 
                    href="javascript:void(0)" ng-class="{'active':apply.dataList}">
                        资料清单
                    </a>
                </span>
            </li>
        </ul>
        <!-- <div class="public-content-title" ng-if="!dataList.length =='0'">
            <span>选择已存在的客户</span> -->
            <!-- 点击出现弹窗 -->
            <!-- <span ng-click="boxTem('loanBefore','being',$event)">
			<i class="iconfont icon-shaixuan shaixuan"></i>
		</span>
        </div> -->
        <!-- <div class="public-content-title" ng-if="!dataList">
		<span style="color:#FF0C0C">很抱歉，您还没有录入过客户信息！</span>
	</div> -->
        <!--中间可切换内容 public-content样式用作中间切换容器-->
        <div class="public-content " ng-show="apply.loanMess">
            <!-- 借款信息 -->
            <div class="head-form marg-top-20" id="loanMessId">借款信息</div>
            <table colspan="8">
                <tbody>
                    <tr>
                        <td><span class="red-star">*</span>订单类型:</td>
                        <td class="select-percent">
							<!-- <ui-select ng-model="data.order.loan_type" error-tis="errTip.loanType">
								<ui-option value="1">车贷</ui-option>
								<ui-option value="2">房贷</ui-option>
								<ui-option value="3">信贷</ui-option>
                            </ui-select> -->
                            <ui-select ng-model="data.order.lt_id" error-tis="err.lt_id">
                                <ui-option ng-repeat="(i,item) in option.loanType track by $index" value="item.id" value="select">{{item.lt_name}}</ui-option>
                            </ui-select>
                        </td>
                        <td><span class="red-star">*</span>申请金额:</td>
                        <td>
                            <div class="input-bind-unit">
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" ng-focus="remlight()" ng-class="{'error':err.apply_money}"  class="form-control" type="text" ng-model="data.order.apply_money"/>
                                <span>元</span>
                            </div>
                        </td>
                        <td><span class="red-star">*</span>申请期限:</td>
                        <td class="select-percent">
							<ui-select ng-model="data.order.at_id" error-tis="err.at_id">
								<ui-option ng-repeat="(i,item) in option.period track by $index" value="item.id" value="select">{{item.at_name}}</ui-option>
							</ui-select>
                        </td>
                        <td><span class="red-star">*</span>还款方式:</td>
                        <td class="select-percent">
							<ui-select ng-model="data.order.repayment_way" error-tis="err.repayment_way">
                                <ui-option ng-repeat="(i,item) in option.replyType track by $index" value="item.id" value="select">{{item.name}}</ui-option>
							</ui-select>
                        </td>
                    </tr>
                    <tr>
                        <td>订单来源:</td>
                        <td class="select-percent">
							<ui-select ng-model="data.order.os_id"  error-tis="">
                                <ui-option ng-repeat="(i,item) in option.orderSource track by $index" value="item.id" value="select">{{item.os_name}}</ui-option>
							</ui-select>
                        </td>
                        <td><span class="red-star">*</span>抵押方式:</td>
                        <td colspan=5 class="text-radio-align">
                            <div ng-if="loanState==3">
                                <input type="radio" value="1" ng-checked="data.order.loan_way==1" name="mortgageType" ng-model="data.order.loan_way" /><span>无抵押</span>
                                <input type="radio" value="2" ng-checked="data.order.loan_way==2" name="mortgageType" ng-model="data.order.loan_way" /><span>信用卡</span>
                                <input type="radio" value="3" ng-checked="data.order.loan_way==3" name="mortgageType" ng-model="data.order.loan_way" /><span>担保</span>
                                <label for="mortgageType">
                                    <input type="radio" value="4" ng-checked="data.order.loan_way==4" name="mortgageType"  id="mortgageType" ng-model="data.order.loan_way" /><span>其他抵押物</span>
                                </label>
                            </div>

                            <div ng-if="loanState==1">
                                <input type="radio" value="1" ng-checked="data.order.loan_way==1" name="mortgageType" ng-model="data.order.loan_way" /><span>押车</span>
                                <input type="radio" value="2" ng-checked="data.order.loan_way==2" name="mortgageType" ng-model="data.order.loan_way" /><span>押证</span>
                            </div>

                            <div ng-if="loanState==2">
                                <input type="radio" value="1" ng-checked="data.order.loan_way==1" name="mortgageType" ng-model="data.order.loan_way" /><span>按揭房短拆</span>
                                <input type="radio" value="2" ng-checked="data.order.loan_way==2" name="mortgageType" ng-model="data.order.loan_way" /><span>红本抵押</span>
                                <input type="radio" value="3" ng-checked="data.order.loan_way==3" name="mortgageType" ng-model="data.order.loan_way" /><span>红本质押</span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1">费用明细:</td>
                        <td colspan="7">
                            <!-- 信贷  费用明细 -->
                            <div class="fee-item">
                                <label for="interest">
                                    <!-- <input name='interest' id="interest" type="checkbox"> -->
                                    <span class="red-star">*</span>
                                    <span>利率:</span>
                                </label>
                                <input ng-focus="remlight()"  ng-class="{'error':err.interest}" onkeyup="value=value.replace(/[^\d~^\.]/g,'')" class="form-control" type="text" ng-model="data.fee.interest" />
                                <span>分</span>
                            </div>
                            <!-- 车贷 费用明细 -->
                            <div class="fee-item" ng-if="loanState==1">
                                <label for="gps_fee">
                                    <input name='gps_fee' id="gps_fee" type="checkbox" ng-click="sectItem('gps_fee')">
                                    <span>GPS费:</span>
                                </label>
                                <ui-select ng-model="data.fee.gps"  error-tis="errTip.gps" >
                                    <ui-option ng-repeat="(i,item) in option.gpsPay track by $index" value="item.id" value="select">{{item.name}}</ui-option>
                                </ui-select>
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" ng-disabled="!checked.gps_fee" class="form-control" type="text" ng-model="data.fee.gps_fee" />
                                <span>元</span>
                            </div>

                            <div class="fee-item">
                                <label for="hand_fee">
                                    <input name='hand_fee' id="hand_fee" type="checkbox" ng-click="sectItem('hand_fee')">
                                    <span>手续费:</span>
                                </label>
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" ng-disabled="!checked.hand_fee" class="form-control" type="text" ng-model="data.fee.hand_fee" />
                                <span>分</span>
                            </div>


                            <!-- 房贷 费用明细-->

                            <div class="fee-item" ng-if="loanState==2">
                                <label for="investigate_fee">
                                    <input name='investigate_fee' id="investigate_fee" type="checkbox" ng-click="sectItem('investigate_fee')">
                                    <span>考察费:</span>
                                </label>
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" ng-disabled="!checked.investigate_fee" type="text" ng-model="data.fee.investigate_fee" />
                                <span>元</span>
                            </div>
                            <div class="fee-item">
                                <label for="other_fee">
                                    <input name='other_fee' id="other_fee" type="checkbox" ng-click="sectItem('other_fee')">
                                    <span>其他费用:</span>
                                </label>
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" ng-disabled="!checked.other_fee" class="form-control" type="text" ng-model="data.fee.other_fee" />
                                <span>元</span>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 基本信息 -->
            <div class="head-form marg-top-20" id="baseMessId">基本信息 <button ng-if="loanState==2" class="btn btn-radius add-item" ng-click="addBorrowingName()">添加借款人</button></div>
            <table colspan="8">
                <tbody>
                    <tr ng-repeat="(key,item) in data.person track by $index">
                        <td colspan="1"><span class="red-star">*</span> 借款人{{key+1}}</td>
                        <td colspan="7" class="more-inp">
                            <input class="form-control" ng-focus="remlight()" ng-class="{'error':errTip.borrTis[$index].real_name}" type="text" ng-model="item.real_name" placeholder="请输入真实姓名" maxlength="7" onkeyup="value=value.replace(/[\d]/g,'')"/>
                            <input class="form-control" ng-focus="remlight()" ng-class="{'error':errTip.borrTis[$index].phone}" type="text" ng-model="item.phone" placeholder="请输入手机号码"  onkeyup="value=value.replace(/[^\d]/g,'')"/>
                            <input 
                                class="form-control" 
                                ng-focus="remlight()" 
                                ng-class="{'error':errTip.borrTis[$index].id_card}" 
                                type="text" ng-model="item.id_card" 
                                placeholder="请输入身份证号码" 
                                ng-blur="getIdCard(key)"
                                />
                            <span class="line-block">
                                <ui-datepicker placeholder="出生日期" error-tis="errTip.borrTis[$index].birthdate" ng-model="item.birthdate" save-date="saveDateHandle()"></ui-datepicker>
                            </span>
                            <ui-select ng-model="item.sex"  error-tis="errTip.borrTis[$index].sex">
                                <ui-option ng-repeat="(i,item) in option.sexArr track by $index" value="item.id" value="select">{{item.name}}</ui-option>
                            </ui-select>
                            <span class="del" ng-if="key!=0" ng-click="deleteBersonalName(key)"><i class="icon icon-guanbi2"></i></span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1"><span class="red-star">*</span>收款账号:</td>
                        <td colspan="7" class="more-inp">
                            <input class="form-control"
                                ng-focus="remlight()" 
                                ng-class="{'error':err.payee}"  
                                type="text" ng-model="data.personOne.payee" 
                                placeholder="请输入卡号真实姓名" />
                            <input class="form-control" 
                                type="text" 
                                ng-model="data.personOne.account" 
                                ng-focus="remlight()" 
                                ng-class="{'error':err.account}"
                                placeholder="请输入银行卡号" />
                            <input class="form-control" 
                                type="text" 
                                ng-model="data.personOne.bank"
                                ng-focus="remlight()" 
                                ng-class="{'error':err.bank}"
                                placeholder="请输入银行名称" />
                        </td>
                    </tr>
                    <tr>
                        <td>户口地址:</td>
                        <td colspan=3 class="detailed-addr">
                            <autocomplete city="cityid1"></autocomplete>
                            <input class="form-control" type="text" ng-model="data.personOne.residence" placeholder="请输入详细地址" />
                        </td>
                        <td>居住地址:</td>
                        <td colspan=3 class="detailed-addr">
                            <autocomplete city="cityid2"></autocomplete>
                            <input class="form-control" type="text" ng-model="data.personOne.address" placeholder="请输入详细地址" />
                        </td>
                    </tr>
                    <tr>
                        <td>住宅类型:</td>
                        <td colspan=3 class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.personOne.house==1" name="houseType" ng-model="data.personOne.house" /><span>自建</span>
                            <input type="radio" value="2" ng-checked="data.personOne.house==2" name="houseType" ng-model="data.personOne.house" /><span>自购</span>
                            <input type="radio" value="3" ng-checked="data.personOne.house==3" name="houseType" ng-model="data.personOne.house" /><span>单位购房</span>
                            <input type="radio" value="4" ng-checked="data.personOne.house==4" name="houseType" ng-model="data.personOne.house" /><span>租房
						(月租
                            <input
                                onkeyup="value=value.replace(/[^\d]/g,'')"
								style="display: inline-block;
										width: 54px;
										height: 16px;
										padding: 2px;"
								class="form-control"
								type="text"  
								ng-model="data.personOne.month_rent"/>
							)
						</span>
                        </td>
                        <td>起始居住时间:</td>
                        <td class="width-all">
							<ui-datepicker error-tis=""  ng-model="data.personOne.begin_time"></ui-datepicker>
                        </td>
                        <td>来本地时间:</td>
                        <td class="width-all">
							<ui-datepicker error-tis="" placeholder="" ng-model="data.personOne.local_time"></ui-datepicker>
                        </td>
                    </tr>
                    <tr>
                        <td>住宅电话:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.personOne.homephone" /></td>
                        <td>教育程度:</td>
                        <td class="select-percent">
							<ui-select ng-model="data.personOne.education"  error-tis="">
								<ui-option ng-repeat="(i,item) in option.education track by $index" value="item.id" value="select">{{item.education}}</ui-option>
							</ui-select>
                        </td>
                        <td>婚姻状况:</td>
                        <td class="select-percent">
                            <ui-select ng-model="data.personOne.marry"  error-tis="">
                                <ui-option ng-repeat="(i,item) in option.marital track by $index" value="item.id" value="select">{{item.name}}</ui-option>
                            </ui-select>
                        </td>
                        <td>子女数量:</td>
                        <td><input class="form-control" type="text" ng-model="data.personOne.child"/></td>
                    </tr>
                    <tr>
                        <td>年龄:</td>
                        <td><input class="form-control" type="text" ng-model="data.personOne.age"/></td>
                        <td>职位身份:</td>
                        <td class="select-percent">
                            <ui-select ng-model="data.personOne.position"  error-tis="">
                                <ui-option ng-repeat="(i,item) in option.positionList track by $index" value="item.id" value="select">{{item.position_name}}</ui-option>
                            </ui-select>
                        </td>
                        <td>微信/QQ是否</br>有微粒贷:</td>
                        <td colspan=3 style="text-align:left">
                            <ui-select ng-model="data.personOne.isqqloan"  error-tis="" class="qq-loan">
                                <ui-option ng-repeat="(i,item) in option.qqloan track by $index" value="item.id" value="select">{{item.name}}</ui-option>
                            </ui-select>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 公司信息 -->
            <div class="head-form marg-top-20" id="companyId">公司信息</div>
            <table colspan="8">
                <tbody>
                    <tr>
                        <td>公司名称:</td>
                        <td><input class="form-control" type="text" ng-model="data.company.cname"/></td>
                        <td>单位电话:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.company.phone"/></td>
                        <td>担任职务:</td>
                        <td><input class="form-control" type="text" ng-model="data.company.duty"/></td>
                        <td>工资待遇:</td>
                        <td><input class="form-control" type="text" ng-model="data.company.income"/></td>
                    </tr>
                    <tr>
                        <td>公司地址:</td>
                        <td colspan=3 class="detailed-addr">
                            <autocomplete city="cityid3"></autocomplete>
                            <input class="form-control" type="text" ng-model="data.company.util_address" placeholder="请输入详细地址" />
                        </td>
                        <td>经营面积及人员:</td>
                        <td colspan=3><input class="form-control" type="text" ng-model="data.company.area_pseronalnums" /></td>
                    </tr>
                </tbody>
            </table>
            <!-- 车辆信息 -->
            <div class="head-form marg-top-20" id="carMessId">车辆信息</div>
            <table colspan="8">
                <tbody>
                    <tr>
                        <td>车牌号码:</td>
                        <td><input class="form-control" type="text" ng-model="data.car.car_number" /></td>
                        <td>品牌型号:</td>
                        <td><input class="form-control" type="text" ng-model="data.car.car_model" /></td>
                        <td>购买时间:</td>
                        <td class="width-all">
							<ui-datepicker error-tis="" placeholder=""  ng-model="data.car.car_time"></ui-datepicker>
                        </td>
                        <td>购买价格:</td>
                        <td>
                            <div class="input-bind-unit">
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.car.car_price" />
                                <span>元</span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>行驶公里数:</td>
                        <td><input class="form-control" type="text" ng-model="data.car.kilometres" /></td>
                        <td>备用钥匙:</td>
                        <td><input class="form-control" type="text" ng-model="data.car.car_key" /></td>
                        <td>车辆数量:</td>
                        <td><input class="form-control" type="text" ng-model="data.car.car_num" /></td>
                        <td>行驶证:</td>
                        <td class="select-percent">
                            <input type="radio" value="1" ng-checked="data.car.driving_license==1" name="driving_license" ng-model="data.car.driving_license" /><span>有</span>
                            <input type="radio" value="2" ng-checked="data.car.driving_license==2" name="driving_license" ng-model="data.car.driving_license" /><span>无</span>
                        </td>
                    </tr>
                    <tr>
                        <td>购买方式:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.car.buy_way==1" name="buy_way" ng-model="data.car.buy_way" /><span>全款</span>
                            <input type="radio" value="2" ng-checked="data.car.buy_way==2" name="buy_way" ng-model="data.car.buy_way" /><span>按揭车</span>
                        </td>
                        <td>绿本或按揭合同:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.car.green==1" name="green" ng-model="data.car.green" /><span>有</span>
                            <input type="radio" value="2" ng-checked="data.car.green==2" name="green" ng-model="data.car.green" /><span>无</span>
                        </td>
                        <td>强制保险:</td>
                        <td colspan=3 class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.car.insurence==1" name="insurence" ng-model="data.car.insurence" /><span>有</span>
                            <input type="radio" value="2" ng-checked="data.car.insurence==2" name="insurence" ng-model="data.car.insurence" /><span>无</span>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 房产信息 -->
            <div class="head-form marg-top-20" id="housingId">房产信息<button class="btn btn-radius add-item" ng-click="addHouserProperty()">添加房产权利人</button></div>
            <table colspan="8">
                <tbody>
                    <tr>
                        <td>房产情况:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.housing.housing_situation==1" name="housingSituationType" ng-model="data.housing.housing_situation" /><span>红本</span>
                            <input type="radio" value="2" ng-checked="data.housing.housing_situation==2" name="housingSituationType" ng-model="data.housing.housing_situation" /><span>按揭</span>
                        </td>
                        <td>购买时间:</td>
                        <td  class="width-all">
						    <ui-datepicker error-tis="" placeholder="" ng-model="data.housing.buy_time"></ui-datepicker> 
                        </td>
                        <td>能否租用备案:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.housing.rent_record==1" name="_rentRecord" ng-model="data.housing.rent_record" /><span>可以</span>
                            <input type="radio" value="2" ng-checked="data.housing.rent_record==2" name="_rentRecord" ng-model="data.housing.rent_record" /><span>不可以</span>
                        </td>
                        <td>房产价值:</td>
                        <td><input class="form-control" type="text" ng-model="data.housing.price" /></td>
                    </tr>
                    <tr>
                        <td>能否公证:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.housing.notarize==1" name="_notarize" ng-model="data.housing.notarize" /><span>可以</span>
                            <input type="radio" value="2" ng-checked="data.housing.notarize==2" name="_notarize" ng-model="data.housing.notarize" /><span>不可以</span>
                        </td>
                        <td>房产证复件:</td>
                        <td class="text-radio-align">
                            <input style="margin-right: 0;" type="radio" value="1" ng-checked="data.housing.copy_house_property==1" name="_copyHouseProperty" ng-model="data.housing.copy_house_property" /><span>可提供</span>
                            <input style="margin-right: 0;" type="radio" value="2" ng-checked="data.housing.copy_house_property==2" name="_copyHouseProperty" ng-model="data.housing.copy_house_property" /><span>不可提供</span>
                        </td>
                        <td>房产证编号:</td>
                        <td><input class="form-control" type="text" ng-model="data.housing.house_num" /></td>
                        <td>建筑面积:</td>
                        <td><input class="form-control" type="text" ng-model="data.housing.house_area" /></td>
                    </tr>
                    <tr>
                        <td colspan="1">房产地址:</td>
                        <td colspan=7 class="detailed-addr">
                            <div class="one-frame">
                                <autocomplete city="cityid4"></autocomplete>
                                <input class="form-control" type="text" ng-model="data.housing.reale_state" placeholder="请输入详细地址" />
                            </div>                           
                        </td>
                    </tr>
                    <tr ng-repeat="(key,item) in data.propertyPersonal track by $index">
                        <td colspan="1">房产权利人{{key+1}}：</td>
                        <td colspan="7" class="more-inp">
                            <input class="form-control" placeholder="请输入真实姓名" type="text" ng-model="item.real_name" />
                            <div class="input-bind-unit more-inp-unit">
                                <input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" placeholder="请输入所占比例" type="text" ng-model="item.ratio" />
                                <span>%</span>
                            </div>
                            <span class="del" ng-if="key!==0" ng-click="deleteHouserProperty(key)"><i class="icon icon-guanbi2"></i></span>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 联系信息 -->
            <div class="head-form marg-top-20" id="linkManId">联系信息</div>
            <table colspan="8">
                <tbody>
                    <tr>
                        <td>直属亲属:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.lineal" /></td>
                        <td>与申请人关系:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.relation" /></td>
                        <td>固定电话:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.linkMan.fixed_tel" /></td>
                        <td>住址:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.link_address" /></td>
                    </tr>
                    <tr>
                        <td>手机号码:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.phone" /></td>
                        <td>工作单位:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.work_unit" /></td>
                        <td>工作地址:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.work_address" /></td>
                        <td>知晓贷款:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.linkMan.know==1" name="konwloan" ng-model="data.linkMan.know" /><span>是</span>
                            <input type="radio" value="2" ng-checked="data.linkMan.know==2" name="konwloan" ng-model="data.linkMan.know" /><span>否</span>
                        </td>
                    </tr>
                    <tr>
                        <td>配偶姓名:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.partner" /></td>
                        <td>工作单位:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.work_unit1" /></td>
                        <td>单位电话:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.linkMan.work_tel" /></td>
                        <td>工作地址:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.work_address1" /></td>
                    </tr>
                    <tr>
                        <td>手机号码:</td>
                        <td><input class="form-control" type="text" ng-model="data.linkMan.phone1" /></td>
                        <td>家庭住址:</td>
                        <td colspan=3 class="detailed-addr">
                            <autocomplete city="cityid5"></autocomplete>
                            <input class="form-control" type="text" ng-model="data.linkMan.home_address" placeholder="请输入详细地址" />
                        </td>
                        <td>知晓贷款:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.linkMan.know1==1" name="konwloan_2" ng-model="data.linkMan.know1" /><span>是</span>
                            <input type="radio" value="2" ng-checked="data.linkMan.know1==2" name="konwloan_2" ng-model="data.linkMan.know1" /><span>否</span>
                        </td>
                    </tr>
                    <tr>
                        <td>其他联系人1:</td>
                        <td><input class="form-control" type="text" ng-model="data.json1.oname" /></td>
                        <td>与申请人关系:</td>
                        <td><input class="form-control" type="text" ng-model="data.json1.relation3" /></td>
                        <td>手机号码:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.json1.phone3" /></td>
                        <td>知晓贷款:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.json1.know3==1" name="otherPerson_1" ng-model="data.json1.know3" /><span>是</span>
                            <input type="radio" value="2" ng-checked="data.json1.know3==2" name="otherPerson_1" ng-model="data.json1.know3" /><span>否</span>
                        </td>
                    </tr>
                    <tr>
                        <td>其他联系人2:</td>
                        <td><input class="form-control" type="text" ng-model="data.json2.oname" /></td>
                        <td>与申请人关系:</td>
                        <td><input class="form-control" type="text" ng-model="data.json2.relation3" /></td>
                        <td>手机号码:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.json2.phone3" /></td>
                        <td>知晓贷款:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.json2.know3==1" name="otherPerson_2" ng-model="data.json2.know3" /><span>是</span>
                            <input type="radio" value="2" ng-checked="data.json2.know3==2" name="otherPerson_2" ng-model="data.json2.know3" /><span>否</span>
                        </td>
                    </tr>
                    <tr>
                        <td>其他联系人3:</td>
                        <td><input class="form-control" type="text" ng-model="data.json3.oname" /></td>
                        <td>与申请人关系:</td>
                        <td><input class="form-control" type="text" ng-model="data.json3.relation3" /></td>
                        <td>手机号码:</td>
                        <td><input onkeyup="value=value.replace(/[^\d]/g,'')" class="form-control" type="text" ng-model="data.json3.phone3" /></td>
                        <td>知晓贷款:</td>
                        <td class="text-radio-align">
                            <input type="radio" value="1" ng-checked="data.json3.know3==1" name="otherPerson_3" ng-model="data.json3.know3" /><span>是</span>
                            <input type="radio" value="2" ng-checked="data.json3.know3==2" name="otherPerson_3" ng-model="data.json3.know3" /><span>否</span>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>

        <!--资料清单-->
        <div class="public-content" ng-show="apply.dataList" style="padding: 20px;">
            <div class="public-bgForm">
                <!-- 上传 -->
                <div class="public-formLeft">
                    <span>资料上传：</span>
                    <ui-select class="drop-width" ng-model="uploads.attach_id"  error-tis="">
                        <ui-option ng-repeat="(i,item) in option.dataList track by $index" value="item.id" value="select">{{item.type_name}}</ui-option>
                    </ui-select>

                    <!-- <div class="se-re se-re-order">
					<select ng-model="uploads.attachName" ng-options="item.typeName as item.typeName for item in AttaSele" ng-class="{'error':redErr.attachId}"
					    ng-focus="remHight()">
							<option value="">选择类型</option>
						</select>
					<span class="se-po se-po-order-left"></span>
				</div> -->
                    <!-- <input ng-model="uploads.attachName"
							type="text" placeholder="输入图片名称"
							ng-class="{'error':redErr.attachName}"
							ng-focus="remHight()"/> -->
                    <!-- 用磊哥的方法实现上传 -->
                    <!-- <a href="javascript:void(0)" data-tag="ueloadImg" name="imgInput">
						浏览图片
                    </a> -->
                    
                    <button class="btn btn-radius btn-sct" data-tag="ueloadImg" ng-disabled="!uploads.attach_id" name="imgInput" >浏览本地</button><!-- ng-click="uploadfile()" -->
                    <!-- (选择类型、输入图片名称和上传图片后请点击确定上传按钮) -->
                    <div class="weiMess1">
                        <i class="icon icon-info"></i>
                        <span>上传图片之前请先选择资料类型</span>
                    </div>
                    <ui-select ng-if="false" ng-model="name7" style="float:right;" error-tis="">
                        <ui-option ng-repeat="(i,item) in option.dataList" value="item.id" value="select">{{item.type_name}}</ui-option>
                    </ui-select>
                </div>
            </div>
            <!--资料tabel列表-->
            <table class="dataListTab">
                <thead>
                    <tr>
                        <td>类型</td>
                        <!-- <td>名称</td> -->
                        <td width='66%'>支持相同图片类型多张上传，格式：png、jpg，单张限制5M</td>
                        <td>操作</td>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="(key,i) in attaArr" class="messImg">
                        <td>{{i.type_name}}</td>
                        <!-- <td>{{i.type_name}}</td> -->
                        <td class="minImg" style="text-align: left !important;">
                            <div id="gallery{{key}}" ng-init="imgList(key)">
                                <a href="javascript:;" ng-repeat="(k,j) in i.attach_img" title="{{k+1}}/{{i.attach_img.length}}">
                                    <!-- <img ng-src="{{j}}" ng-init="F.loadImage(j)"> -->
                                    <img class="img_{{i.id}}{{k}} load"  data-original="{{j}}" src="./assets/images/loading.gif" ng-init="loadImage(j,'img_'+i.id+k)">
                                    <i class="icon icon-minus" ng-click="deleImg($event,key,i.id)" data-idx="{{k}}">
									</i>
                                </a>
                            </div>
                        </td>
                        <!-- 第四个删除按钮 -->
                        <td>
                            <i class="icon icon-shanchu" ng-click="deleAtta(i.id)"></i>
                        </td>
                    </tr>
                    <tr ng-if="attaArr.length==0">
                        <td colspan="8" style="background:#fff">未上传资料</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!--底部提交评估按钮-->
        <div class="public-bgBotBtn">
            <div>
                <button class="btn btn-radius" ng-click="sel('1')">保存信息不提交</button>
                <!-- <button class="btn btn-radius" ui-sref="application.subsaveok(searchData)">保存信息不提交</button> -->
                <button class="btn btn-radius btn-sct" ng-click="sel('2')">提交申请</button>
            </div>
        </div>
    </div>
</div>